package com.example.base.system.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author X.I.O
 * @since 2024-04-11
 */

@Data
@ApiModel(description = "")
@TableName("sys_user_open")
public class SysUserOpen implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(type = IdType.ASSIGN_UUID)
    private String uuid;
    /**
    * 账号
    */
    @ApiModelProperty(value = "账号")
    private String username;
    /**
    * 密码
    */
    @JSONField(serialize = false, deserialize = false)
    @ApiModelProperty(value = "密码")
    private String password;
    /**
    * 登录失败次数
    */
    @ApiModelProperty(value = "登录失败次数")
    private Integer loginFailNum;

    /**
    * 手机号
    */
    @ApiModelProperty(value = "手机号")
    private String mobile;
    /**
    * 创建时间
    */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createtime;
    /**
    * 是否删除
    */
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
    /**
    * 开放类型
    */
    @ApiModelProperty(value = "开放类型")
    private String openType;
    /**
    * 累计登录失败次数
    */
    @ApiModelProperty(value = "累计登录失败次数")
    private Integer loginFailTotalnum;
    /**
    * 身份证号码
    */
    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    /**
     * 更新时间
     */
    private Date updatetime;

    /**
     * 用户图像
     */
    private String userImg;

    /**
     * 用户邮箱
     */
    private String eMail;


    private String userKey;

    private Integer sex;

    private String birthday;

    private String nickname;

}
